package com.nft.service.school.client;

import com.nft.service.school.feign.ISysUserClient;
import com.nft.service.school.req.SysUserReq;
import com.nft.service.school.resp.SysUserResp;
import com.nft.service.school.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/schoolClient")
public class SysUserClient implements ISysUserClient {

    @Autowired
    private AuthService authService;

    @Override
    @RequestMapping(value = "/insertUserInfo", method = RequestMethod.GET)
    public Boolean insertUserInfo(@RequestBody SysUserReq query) {
        return null;//authService.getUserOpInfo(userId);
    }

    @Override
    @RequestMapping(value = "/updateUserInfo", method = RequestMethod.GET)
    public Boolean updateUserInfo(@RequestBody SysUserReq query) {
        return null;//authService.getUserOpInfo(userId);
    }
}
